<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="${basePath}"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<link href="css/tableThinLine2.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">

jQuery(function($){

	
});

var orgTrContent = null;
var trIdEdit = null;
function edit(obj){
	if(trIdEdit != null){
		cancel();
	} 
	var trObj = $(obj).parent().parent();
	//得到行ID
	trIdEdit = trObj.attr("id");
	orgTrContent = trObj.html();
	
	var tds = trObj.children();
	var td1 = tds.eq(0);
	var td2 = tds.eq(1);
	var td3 = tds.eq(2);

	var htmlStr = "<td></td><td colspan=\"3\" height=\"20\">"
		+"<form action=\"lang/lang_updateSubmit.htm\" method=\"post\" style=\"margin:0\"><table  border=\"0\" cellpadding=\"0\" cellspacing=\"0\"  width=\"100%\">"
		+"<tr><td style=\"width: 129px;\"><input type=\"hidden\" name=\"id\" value='"+td1.children().attr("value")+"'/><input name=\"name\" value='"+$.trim(td2.html())+"' style=\"width: 120px;border:0;\"/>"
		+"</td><td style=\"width: 131px;\"><input name=\"fl\" value='"+$.trim(td3.html())+"' style=\"width: 120px;border:0;\"/></td>"
		+"<td>&nbsp;<input type=\"submit\" value=\"保存修改 \"/>&nbsp;<input type=\"button\" onclick='javascript:cancel();' value=\"取消 \"/></td></tr></table></form>"
		+"</td>";  
	trObj.html(htmlStr);
}
function cancel(){
	var trObj = $("#"+trIdEdit+"");
	trObj.html(orgTrContent);
}
</script>
<title>Insert title here</title>
</head>
<body>
添加语言模式
<hr class="hr0" />
<form action="admin/langmodel_add.htm" method="post">
<table border="0">
	<tr>
		<td>从属语言：</td><td><select name="lid"><option value="1">中文</option><option value="2">英文</option></select></td><td></td><td></td>
	</tr>
	<tr>
		<td>咨询管理：</td><td><input type="text" name="consulting"/></td><td>简介：</td><td><input type="text" name="consultingsum"/></td>
	</tr>
	<tr>
		<td>技术信息：</td><td><input type="text" name="technology"/></td><td>简介：</td><td><input type="text" name="technologysum"/></td>
	</tr>
	<tr>
		<td>经营外包：</td><td><input type="text" name="outsourcing"/></td><td>简介：</td><td><input type="text" name="outsourcingsum"/></td>
	</tr>
	<tr>
		<td>行业：</td><td><input type="text" name="industries"/></td><td>简介：</td><td><input type="text" name="industriessum"/></td>
	</tr>
	<tr>
		<td>你好：</td><td><input type="text" name="hi"/></td><td>欢迎登录：</td><td><input type="text" name="welcome"/></td>
	</tr>
	<tr>
		<td colspan="2">请登录以获取个性化的内容：</td><td colspan="2"><input type="text" name="getspecial"/></td>
	</tr>
	<tr>
		<td colspan="2">新手?请从这里开始：</td><td colspan="2"><input type="text" name="newbin"/></td>
	</tr>
	<tr>
		<td colspan="2">getintouch：</td><td colspan="2"><input type="text" name="getintouch"/></td>
	</tr>
	<tr>
		<td colspan="2">emailus：</td><td colspan="2"><input type="text" name="emailus"/></td>
	</tr>
	<tr>
		<td colspan="2">morecontactoptions：</td><td colspan="2"><input type="text" name="morecontactoptions"/></td>
	</tr>
	<tr>
		<td colspan="2">overview：</td><td colspan="2"><input type="text" name="overview"/></td>
	</tr>
	<tr>
		<td colspan="2">services：</td><td colspan="2"><input type="text" name="services"/></td>
	</tr>
	<tr>
		<td colspan="2">researchandinsights：</td><td colspan="2"><input type="text" name="researchandinsights"/></td>
	</tr>
	<tr>
		<td colspan="2">clientsuccesses：</td><td colspan="2"><input type="text" name="clientsuccesses"/></td>
	</tr>
</table>
<table >
	<tr><td align="center"><input type="submit" value="提交"/></td></tr>
</table>
</form>


			
</body>
</html>